Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

By symbol match improvements #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

roxanebellot
Copy link

Hi !

This may be out of nowhere, but playing around with your lib, and found the "heuristic" in by_symbol_match could be significantly improved by using a regex to avoid finding currency symbols in words.
This both improves the detection of the right currency and reduces the detection of bad currencies !

For reference, I also added a little case-insensitivness test case :)

Yesterday, I was so overhyped I created #10 that was not ready. Github won't let me re-open it because if was force-pushed ☹️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant